package com.group.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * com.gxa.result
 * User: 恩哲欣
 * Date: 2024/10/22 19:46
 * Motto: Where there is a will, there is a way!
 * Description:
 * Version: V1.0
 */
@Data
@ApiModel(value = "返回数据",description = "返回响应数据")
public class RestMessage implements Serializable {
    private static final long serialVersionUID = 1764302703436240414L;
    @ApiModelProperty(value = "是否成功")
    private boolean success = true;
    @ApiModelProperty("返回对象")
    private Object data;
    @ApiModelProperty("错误编号")
    private Integer errCode;
    @ApiModelProperty("错误信息")
    private String message;
}
